#include<stdio.h>
int main()
{ 
  int a[3],b[3],c[3],i,j,n;
  printf("Enter the 1st 3x1 matrix:\n");
  for(i=0;i<3;i++)
   {
     scanf("%d",&a[i]);
   }

  printf("Enter the 2nd 3x1 matrix:\n");
  for(j=0;j<3;j++)
   {
     scanf("%d",&b[j]);
   }
  printf("the summation is:\n");
  for(n=0;n<3;n++)
   {
     c[n]=a[n]*b[n];
     printf(" %d",c[n]);
   }
return 0;
}
